package com.hx.sp.controller;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by hx-pc on 17-4-25.
 */
@FeignClient(value="HelloClient1")
public interface FeginHellowClient {

    @RequestMapping(value = "/hello1", method= RequestMethod.GET)
    String hello1(@RequestParam(name = "name") String name);


    @RequestMapping(value = "/hello2", method= RequestMethod.GET)
    String hello2(@RequestParam(name = "name") String name);
}
